{
  "properties" : { },
  "id" : "e259455c50ab480f88796611225e9f65",
  "script" : null,
  "groupId" : "f2a318ab75a44534b6744b38c923f12f",
  "name" : "获取用户基本信息",
  "createTime" : null,
  "updateTime" : 1734879313075,
  "lock" : "1",
  "createBy" : null,
  "updateBy" : null,
  "path" : "/basic",
  "method" : "GET",
  "parameters" : [ {
    "name" : "userids",
    "value" : "1",
    "description" : null,
    "required" : false,
    "dataType" : "String",
    "type" : null,
    "defaultValue" : null,
    "validateType" : null,
    "error" : null,
    "expression" : null,
    "children" : null
  } ],
  "options" : [ ],
  "requestBody" : "",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : "{\n    \"code\": 200,\n    \"message\": \"success\",\n    \"data\": [\n        {\n            \"id\": \"1\",\n            \"username\": \"admin\",\n            \"name\": \"管理员\",\n            \"password\": \"8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92\",\n            \"status\": \"1\",\n            \"phone\": \"13888888888\",\n            \"headPortrait\": \"userfiles/2023-04-01/1d8cd6ccc18746419b97bbd74702d38c/图片的副本2.png,userfiles/2023-04-15/5e4e53ef95884413b09509b8558393d8/iShot_2023-04-15_09.36.22.png,userfiles/2023-04-01/1d8cd6ccc18746419b97bbd74702d38c/图片的副本2.png,userfiles/2023-04-15/5e4e53ef95884413b09509b8558393d8/iShot_2023-04-15_09.36.22.png,userfiles/2023-04-01/1d8cd6ccc18746419b97bbd74702d38c/图片的副本2.png,userfiles/2023-04-15/5e4e53ef95884413b09509b8558393d8/iShot_2023-04-15_09.36.22.png,userfiles/2023-04-01/1d8cd6ccc18746419b97bbd74702d38c/图片的副本2.png,userfiles/2023-04-15/5e4e53ef95884413b09509b8558393d8/iShot_2023-04-15_09.36.22.png,userfiles/2023-04-01/1d8cd6ccc18746419b97bbd74702d38c/图片的副本2.png,userfiles/2023-04-15/5e4e53ef95884413b09509b8558393d8/iShot_2023-04-15_09.36.22.png\",\n            \"isLogin\": 0,\n            \"sort\": null,\n            \"officeId\": \"31b365008f994e93850186126fce87cb\",\n            \"isDel\": 0,\n            \"createBy\": null,\n            \"createDate\": \"2020-05-15 22:25:20\",\n            \"updateBy\": \"1\",\n            \"updateDate\": \"2024-03-10 23:13:41\",\n            \"lastProjectId\": 8\n        }\n    ],\n    \"timestamp\": 1732016604935,\n    \"executeTime\": 33\n}",
  "description" : null,
  "requestBodyDefinition" : null,
  "responseBodyDefinition" : null
}
================================
import 'cn.dev33.satoken.stp.StpUtil';
import log
var userid = StpUtil.getLoginId()
let useridArr = userids.split(',');
var user = db.table("sys_user").where().in("id",useridArr).select()
return user